package com.itheima.design.mode.strategy.entity;

import java.util.Date;
import java.util.List;

public class Order {

	public static final String Promotion1="p1";
	public static final String Promotion2="p2";
	public static final String Promotion3="p3";
	public static final String Promotion4="p4";

	private String name;
	private Double price;
	private Integer type;

	private Customer customer;

	private List<OrderItem> items;

	private String amount;

	private Date time;

	public List<OrderItem> getItems() {
		return items;
	}

	public void setItems(List<OrderItem> items) {
		this.items = items;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
